#ifndef __ASCII_H
#define __ASCII_H

#define	ASCII816        ascii816
#define ascii_get8      ascii_get

#include "stm8s.h"


typedef enum
{
  ASCII_L = 0,
  ASCII_H
}type_ascii_hl;


void ascii_get(uint8_t data, uint8_t *pc);
void ascii_get_str(uint8_t *str, uint8_t *pc);
//void ascii_get16(uint8_t data, type_ascii_hl hl, uint8_t *pc);
//void ascii_get16_str(uint8_t *str, type_ascii_hl hl, uint8_t *pc);

#endif